package com.yuyou.fn.common.constant;

import com.yuyou.fn.common.util.Utils;

import java.util.Date;

/**
 * Created by wens on 16/7/6.
 */
public class Constants {

    public final  static int USER_TYPE_OF_YUYOU = 0 ;
    public final  static int USER_TYPE_OF_AREA = 1 ;
    public final  static int USER_TYPE_OF_BUS = 2 ;

    public final static String SESSION_KEY_FOR_TEACHER_ID = "SESSION_KEY_FOR_TEACHER_ID";
    public final static String SESSION_KEY_FOR_STUDENT_ID = "SESSION_KEY_FOR_STUDENT_ID";


    public final static int PAY_ORDER_STATUS_OF_NOT_PAY = 0 ;
    public final static int PAY_ORDER_STATUS_OF_PAID = 1 ;
    public final static int PAY_ORDER_STATUS_OF_PAY_FAIL = 2 ;

    public final static int REFUND_ORDER_STATUS_OF_NOT_PAY = 0 ;
    public final static int REFUND_ORDER_STATUS_OF_PAID = 1 ;
    public final static int REFUND_ORDER_STATUS_OF_PAY_FAIL = 2 ;


    public final static int ACCOUNT_TYPE_OF_FUTURE_INCOME = 0 ;
    public final static int ACCOUNT_TYPE_OF_REAL_INCOME = 1 ;
    public final static int ACCOUNT_TYPE_OF_FEE = 2 ;
    public final static int ACCOUNT_TYPE_OF_PROFIT = 3 ;
    public final static int ACCOUNT_TYPE_OF_BALANCE = 4 ;

    public final static Date REG_LIMIT_DATE = Utils.parseDate("2018-09-20 23:59:59" , "yyyy-MM-dd HH:mm:ss");



}
